<?php
$muser=new Model_User;
if($_GET['mode'] == "delall"){
	if($_GET['check'] == "yes"){
		$muser->delete_all($_POST['id']);
		redirect("index.php?module=user&act=list");
	}
	$str=implode(",",$_POST['id']);
	$data['list']=$muser->listselect($str);
	loadview("user/delete_confirm",$data);
}else{
$data['info']=$muser->listuser();
loadview("user/list_view",$data);
}